gtkgstsink: Use video_frame_free also for the GL path
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Mon, 25 Jan 2021 21:38:45 +0000 (22:38 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 7 Feb 2021 16:35:08 +0000 (11:35 -0500)
commitc2235cee2d8e60e205816de7e8aae3ffc7c12d62
tree868c5e5e6ddaf81f310905e3d36c440ef9c31e8a
parent949fb8a8faaf274698f963ccc763f16775e3f55b
gtkgstsink: Use video_frame_free also for the GL path

The video frame needs to stay mapped while the texture is in use.

Avoid using g_memdup because the structure is not supposed to be moved.
modules/media/gtkgstsink.c